# -*- coding: utf-8 -*-
from openerp.osv import fields, osv

class oecn_training_lesson(osv.osv):
    _name = 'oecn.training.lesson'
    _discription = 'OECN 培训课程'
    _columns = {
        'name': fields.char( u'课程名', size=64, select=True),
        'date_start': fields.date( u'开始日期', select=True),
<<<<<<< HEAD
        'total_day': fields.integer(u'总天数'),
=======
        'total_day': fields.float(u'总天数', digits=(16, 2)),
>>>>>>> 04123273165cb4b1ee4ed2c08973b940938a2af1
        'teacher': fields.many2one('res.users', u'授课老师'),
        'students': fields.many2many('res.partner', string=u'学生'),
        'price': fields.float(u'价格', digits=(16,1)),
    }

oecn_training_lesson()
